package apy.codecase.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/10/30.
 */
@Entity
public class DiaryDaoModel implements Serializable{
    @Id(autoincrement = true)
    private Long _id;

    private static final long serialVersionUID = 1;
    private String date;
    private String weather;
    private String title;
    private String content;
    private String address;
    private String iv;
    private boolean isDraft;
    private boolean isSelector;
    private String id;
    @Generated(hash = 932975907)
    public DiaryDaoModel(Long _id, String date, String weather, String title,
            String content, String address, String iv, boolean isDraft,
            boolean isSelector, String id) {
        this._id = _id;
        this.date = date;
        this.weather = weather;
        this.title = title;
        this.content = content;
        this.address = address;
        this.iv = iv;
        this.isDraft = isDraft;
        this.isSelector = isSelector;
        this.id = id;
    }
    @Generated(hash = 1641063099)
    public DiaryDaoModel() {
    }
    public Long get_id() {
        return this._id;
    }
    public void set_id(Long _id) {
        this._id = _id;
    }
    public String getDate() {
        return this.date;
    }
    public void setDate(String date) {
        this.date = date;
    }
    public String getWeather() {
        return this.weather;
    }
    public void setWeather(String weather) {
        this.weather = weather;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getAddress() {
        return this.address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public String getIv() {
        return this.iv;
    }
    public void setIv(String iv) {
        this.iv = iv;
    }
    public boolean getIsDraft() {
        return this.isDraft;
    }
    public void setIsDraft(boolean isDraft) {
        this.isDraft = isDraft;
    }
    public boolean getIsSelector() {
        return this.isSelector;
    }
    public void setIsSelector(boolean isSelector) {
        this.isSelector = isSelector;
    }
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
}
